package cn.melonlib.cores.commons.model.entity;

import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

@Data
@EqualsAndHashCode(callSuper = true)
@MappedSuperclass
public class TenantRecordEntity extends RecordEntity implements TenantEntity{

    @ModelComment("租户ID")
    private String tenantId;
//    @Column(length = 2000)
//    @ModelComment("租户快照信息")
//    private String tenant;

    @ModelComment("租户编号")
    private String tenantCode;

    @ModelComment("租户名称")
    private String tenantName;
}
